package cn.com.joco.dk.form;

import java.util.List;

import cn.com.joco.dk.form.OptionBean;

public class FieldBean {
	public String  id="";//表单字段ID（与数据库中字段名相同）
	public String  name="";//		显示名称
	public String  width="";//		宽度
	public String  height="";//		高度
	public String  type="";//		字段类型
	public String  dicflag="";//	字典标识，当type为dic时，此项有效
	public String  paixu="";//		显示顺序
	public String  regular="";//		验证的正规表达式
	public String  errmsg="";//		验证错误提示
	public String  required	="";//	是否必填
	public String  unique="";//		是否唯一
	public String  help	="";//	帮助描述
	public String  defalutvalue="";//		默认值
	public String  others="{}";//		其它属性（json格式，将会原样给到字段属性上）
	public String  showable="1";//		1:显示	0:不显示
	public String  status	="1";//	1:正常	2:删除
	public String  renderstring	="";//	<a href=’/view/{id}’>{name}</a>
	public List<OptionBean> optionList;
	private String length; //字段长度
	
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getWidth() {
		return width;
	}
	public void setWidth(String width) {
		this.width = width;
	}
	public String getHeight() {
		return height;
	}
	public void setHeight(String height) {
		this.height = height;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getDicflag() {
		return dicflag;
	}
	public void setDicflag(String dicflag) {
		this.dicflag = dicflag;
	}
	public String getPaixu() {
		return paixu;
	}
	public void setPaixu(String paixu) {
		this.paixu = paixu;
	}
	public String getRegular() {
		return regular;
	}
	public void setRegular(String regular) {
		this.regular = regular;
	}
	public String getErrmsg() {
		return errmsg;
	}
	public void setErrmsg(String errmsg) {
		this.errmsg = errmsg;
	}
	public String getRequired() {
		return required;
	}
	public void setRequired(String required) {
		this.required = required;
	}
	public String getUnique() {
		return unique;
	}
	public void setUnique(String unique) {
		this.unique = unique;
	}
	public String getHelp() {
		return help;
	}
	public void setHelp(String help) {
		this.help = help;
	}
	public String getDefalutvalue() {
		return defalutvalue;
	}
	public void setDefalutvalue(String defalutvalue) {
		this.defalutvalue = defalutvalue;
	}
	public String getOthers() {
		return others;
	}
	public void setOthers(String others) {
		this.others = others;
	}
	public String getShowable() {
		return showable;
	}
	public void setShowable(String showable) {
		this.showable = showable;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getRenderstring() {
		return renderstring;
	}
	public void setRenderstring(String renderstring) {
		this.renderstring = renderstring;
	}
	public List<OptionBean> getOptionList() {
		return optionList;
	}
	public void setOptionList(List<OptionBean> optionList) {
		this.optionList = optionList;
	}
	public String getLength() {
		return length;
	}
	public void setLength(String length) {
		this.length = length;
	}
	
	
}
